#ifndef __LCD_H_
#define __LCD_H_


#define LCD_WIDTH  			800
#define LCD_HEIGHT 			480
#define FB_SIZE				(LCD_WIDTH * LCD_HEIGHT * 4)


#define EN_LCD_SHOW_JPG		1

int lcd_init(void);
void lcd_draw_point(unsigned int x,unsigned int y, unsigned int color);


/* video_chat.c 画中画显示的坐标 */
extern volatile int g_jpg_in_jpg_x;
extern volatile int g_jpg_in_jpg_y;

extern int  lcd_fd;
extern int *lcd_mmap;

//==================

#define RGB(r,g,b)    (((r)<<16)|((g)<<8)|(b))
//==================

#endif